package com.youngwang.system;

/**
 * @author youngwang
 *         Date: 2016/11/4
 */
public class SubStatic extends BaseStatic{
    public static int i = 20;

    public void info(){
        System.out.println("访问本类的i类变量:" + i);
        System.out.println("访问父类的i类变量:" + BaseStatic.i );
        System.out.println("访问父类的i类变量;" + super.i);
    }

    public static void main(String[] args){
        SubStatic subStatic = new SubStatic();
        subStatic.info();
    }
}
